package com.atguigu.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName:HelloController
 * @Author:Administrator
 * @Desspriction:写点注释吗
 * @Date:Createed in 12:47 2019-01-24
 * @ResponseBody
 * @Controller 两个等于
 */
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello()
    {
        return  "hello!!";
    }
}
